package com.yuanfeng.job.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @ClassName UpdateBusinessOvertimeOrderJob
 * @Description 待发货退款超24小时商家未处理自动处理退款
 * @Author liulh
 * @Date 2023/5/17 16:59
 * @Version 1.0
 **/
public class UpdateBusinessOvertimeOrderJob implements BaseJob {

    private static final Logger logger = LoggerFactory.getLogger(UpdateBusinessOvertimeOrderJob.class);

    @Autowired
    private UpdateOrderStatusService updateOrderStatusService;

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        updateOrderStatusService.updateBusinessOvertimeOrder();
    }
}
